package main

// 注意引用顺序，首先引入init包进行整体初始化
import (
	_ "IdentityAuthentication/cmd/common/init"
	"IdentityAuthentication/cmd/common/model"
	"IdentityAuthentication/router"
	"github.com/gin-gonic/gin"
)

func main() {
	// 初始路由
	r := gin.Default()
	router.Router(r)

	r.Run(model.Conf.Http.HttpIp + ":" + model.Conf.Http.HttpPort)
}
